<!--
 * @Author: zy
 * @Date: 2022-06-21 14:52:38
 * @LastEditTime: 2022-07-26 19:13:59
 * @Description: 跳转网页
-->
<template>
  <web-view :src="webUrl" />
</template>

<script>
  export default {
    data() {
      return {
        webUrl: ''
      }
    },
    onLoad(opt) {
      let url = decodeURIComponent(opt.url)
      /* #ifdef MP-WEIXIN */
      if (url.indexOf('%') >= 0) {
        url = decodeURIComponent(url)
      }
      /* #endif */
      this.webUrl = url
    }

  }

</script>

<style scoped lang="scss">

</style>
